]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme/search-entry: Tweak the margins a bit
authorJonas Dreßler <verdre@v0yd.nl>
Mon, 22 Feb 2021 11:46:42 +0000 (12:46 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 3 Mar 2021 12:08:58 +0000 (12:08 +0000)
Use a bit less margin at the top and add some margin at the bottom of
the search entry. This should ensure the search entry is closer to the
panel than to the workspaces and avoid associating the workspace
thumbnails with the search instead of the window picker.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1702>

data/theme/gnome-shell-sass/widgets/_search-entry.scss

index 4568170e46cb8fdf4f0fcc1a343b147656c6a0a8..b184e674e32717413b39e3a7e66d1016a47135ed 100644 (file)
@@ -11,7 +11,8 @@ $search_entry_height: 36px;
   color: transparentize($fg_color,0.3);
   background-color: $bg_color;
   border-color: $borders_color;
-  margin-top: 24px;
+  margin-top: $base_spacing * 2;
+  margin-bottom: $base_spacing;
 
   &:hover {
     background-color: $hover_bg_color;
@@ -33,4 +34,4 @@ $search_entry_height: 36px;
     padding: 0 4px;
     color: inherit;
   }
-}
\ No newline at end of file
+}